Fix SynchronizerTest testLocations bug

Fix bug due to sets returning unordered by checking only if all
elements are present