Fixed bug in trigger test code.

Added more testing capability to basic parser test.