Test rectangle