Added StatCRect unit tests