Testcase for rect with both rx and ry set