jdk8 test issue with checking lists

jdk8 sorts differently than jdk6 & jdk7.  As such, test case fails
without a patch.  This was just a quick solution.