test clip rect