return value fixes

201 for put/post, 405 (method not allowed) for invalidexception
(workertrait) - tests adjusted and have code coverage ignore
vendor