Remake database and test data