Add unit test for github issue #1695
Fix issue with deletion of managed objects if a response mapper error is encountered. closes #1695
Remove extra whitespace
Merge pull request #1700 from novkostya/bugfix/1695

Prevents deletion of managed objects if a response mapper error is encountered