added test for getTableFields  but table not exists