unit tests for new presence features