Fixed Database test case