HG-55 added additional debugging code to integration test