unit test for FirstTable