Revert "Update database test case"

This reverts commit 33253b9b929a28eac1fd5dd282185a01be196018.