Add some more asserts to the test and clean up logging in the protocol converter, replace all the System.out.println calls