Added rect integration test