What factors can cause inaccurate thyroid function test results?