test that the hipchat function sends to a user or room accordingly and correctly