Better integration test