Fix integration tests by using putAll and LinkedHashMap where needed.