Tests weren't accessing text of message

The tests were emitting false negatives. The get_replies method
returns structs with a text attribute that contains the reply. The
chomp method wouldn't work directly on the struct, so I fixed that.

Tests seem to pass now.