Use better test for UnsupportedClassVersionError.
Use better test for UnsupportedClassVersionError.

The previous test worked correctly with the Oracle JVM but
failed with other JVMs. This new test should work correctly
on all JVMs.

joeferner/node-java,lantanagroup/node-java,sebgod/node-java,sebgod/node-java,joeferner/node-java,RedSeal-co/node-java,joeferner/node-java,joeferner/node-java,RedSeal-co/node-java,RedSeal-co/node-java,sebgod/node-java,joeferner/node-java,lantanagroup/node-java,RedSeal-co/node-java,sebgod/node-java,joeferner/node-java,lantanagroup/node-java,sebgod/node-java,lantanagroup/node-java,RedSeal-co/node-java,sebgod/node-java,lantanagroup/node-java,lantanagroup/node-java,RedSeal-co/node-java