fixed issue #158 - added validation to handle no content being sent in t...

...est cases forcing content errors