Adding unit test for table