move test files of database to test/common/