Refactoring: Move test code to test package.
Description
Instrumenter::test containts test code. Move to test case and replace System.out and System.err by proper test case assertions.
Environment
None
Instrumenter::test containts test code. Move to test case and replace System.out and System.err by proper test case assertions.