adapt integration test 542