Iteration order of HashSet/Map changes between JRE 7 and JRE 8, breaking tests

Overhead of LinkedHashSet/Map is vs is inconsequential. When porting production code to not break tests across JRE 7 and 8 at square, we wild-carded this change after peer review. It is safe.