Exlude Rectangle from rendering for tests