moved function tried to notify the wrong event

Fixed by notifying ObjectMovedEvent
Added tests.