Fix unit tests failing under JDK8, adding oraclejdk8 to travis config

Good news, the problem was with the unit tests, not with the code. The unit tests were incorrectly relying on the iteration order of the elements of a ```HashSet```.

Fixes #34