implemented integration test framework