add test case for base data access class