added unit test for tabel access