test drag-drop & rotate rectangle