Added Automapper config isValid assertion.