The logic for 'testTDHeight()' is wrong.