Instrumenter::test containts test code. Move to test case and replace System.out and System.err by proper test case assertions.