cleanup database, databasetest