Replace HashSet by LinkedHashSet to ease reproducibility in test cases