Add test for Entity\centerGraphicInRect