Fix tests. sendPresence is now sent out at a different place
Merge branch '0.6.x'