Fixed update not removing the test database when the database is already up to date