Added Dist Datastore tests and a fix for PATCH 500

- fix for when an invalid object is passed into Patch method (not a Patch), it returned a 500 - now returns 400
- added tests around GET, PUT, and PATCH methods