Add tests for \nick command and basic chat

Now the following things also have working tests:
    * basic chat (sending/receiving a 'hi' message)
    * \nick command gets/sets nickname

The tests under 'commands' now use beforeEach and afterEach helpers!