updated CRS equality test, CRS.equalsIgnoreMetadata(...) doesn't seem to work in this case
refactored for clarity