Fix JUnit test to be order insensitive.