Test rectangle move