unit tests for exception mappers