Rectangle class + tests