test case for data store