Added a ResponseMessageList unit test. Performed minor refactoring to clean up Paul's changes.