Fixes #8. Added unit tests for registering with a room
0.2.6