How does a thyroid function test help monitor thyroid nodules?