Add negative tests for endpoints

There were no negative tests that showed that the identity API
returns 400 Bad Request if an attempt is made to create or
update an endpoint with a non-Boolean value for the enabled
attribute.

Change-Id: I45db202c8231e02b5cf0514133976339e3a2f200
Related-Bug: #1282266
4 files changed