Fix tests

The update version was not considered in the test. After the indroduction of
Java 8 the minimal update version for Mac OS X 10.10 has also ben changed.