Updated tests to check for th tags instead of td tags within thead blocks