cherry-pick '[CDE-406]: unit tests for drag and drop'