Fixing the JWE tests failing in Java 6 builds