can integration test migrations and query