Full test coverage of presence event handling