move test to test/integration