database test cases concept