Passing tests - integration test for legacy code