updated integration test, added migrations
combined similar tests into one file