integration test implementation