Implement the check for the username in chat_room (Listing 14.30)
Implement the check for the message in chat_room (Listing 14.32)
Refactor test by extracting to setUp (Listing 14.33)
Verify that callback is callable before calling it

To make addMessage not to require a callback.