Implemented additional tests for create item fail cases.
Fixed a bug where "JSON" that was just a string wouldn't trigger the malformed decision.