Join Room Implementation and Unit Tests

Please review. Thanks.