setup integration test code