[activesync] Fix our message move logic and unit test it