Add tests for PUT to data-set with empty JSON list

- To implement "clear the data-set" we're allowing the user to HTTP PUT
  an empty JSON list, which overwrites the contents of the data set.
- We currently *only* allow an empty JSON list - return an error
  otherwise.