Sprinkling of util classes I'm using for some messaging tests