Fixed warnings in migrations and removed a sleep from the data directory choose test.