started test cases for db