check order of jvm options in tests

Check order of jvm options in tests, as user-provided options should be after any default options so the defaults may be overridden.