Added parser test for undefined messages and fixed a bug that showed up.