Merge pull request #12827 from nlebeck/mathutil-tests-2 Add some unit tests for the `Rectangle` class