Add Tests for new 'Online' Feature

Added two new tests to verify the new feature where the server always emits 'online' for every registration (this addresses a race condition with online/offline events), and the client online emits the server online events if the client meta-data has changed (as is the case after an 'offline' event)