Refaced viewFrame tests