Rebuilding mock test database