Adding unittest to test splitting messages.