Added a check in the long word test to check the limit of the message size is not being exceeded.