Run migrations automatically for tests