test cases for dbic