Add test for rectangle_count class variable and class method