Add Model validation and unit test for HTTP 400s