modified integration test