get and set in Rectangel + Test