add test case for data access classes