Testcase for rect with one of rx or ry