HY-1142: Added unit tests for Rectangle class

Continued work on unit test classes for the rectangle class. Handing off
the work to Tom.