Added test cases for simple database operations