JBMAR-160: fixes for JDK 8

https://issues.jboss.org/browse/JBMAR-160
Carlo, you are right. This line should be commented out as it consumes one byte from the buffer, resulting in unmarshalling with errors.
This is passing all the time because in the pom file, the surefire tests that are executed are defined to be only the ones that end with *TestFactory.java.