Improving the messages for the Dictionary failure scenarios. Providing
more details in the error message. Also refactored the TestEnvironment and
the MessageGenerator base classes to make such custom messages easier in
the future.