Fixed failing unit test.
Runner improvements:

- only add the Xdock:name option when running on a JVM that under-
  stands this option;
- updated the runner JAR to declare a main class.