update rectangle test to new API.
update rectangle test to new API.

Guys, when you change API, please change it everywhere and then run tests!

By: Andre Dieb


SVN revision: 41421

turran/eina,gfriloux/eina,gfriloux/eina,turran/eina,gfriloux/eina,turran/eina