test case DB