Fixed migration issues with tests by resetting them