moved function tried to notify the wrong event.

Fixed by notifying ObjectMovedEvent
Added tests.
Merge pull request #2 from icemac/master

moved function tried to notify the wrong event