fixing 1 test for rectangle inheritance
Generating equals and hashCode for Measurement since intelliJ Lombok is acting up