Messenger tests added, offMessages method fixed