CMS-3665 Added tests for exception mapper.