Check parser usages

Added a test that makes sure all properties/fields on QueryTreeNodes are used, for all nodes that are referenced. Eventually we would like it to assert that everything is used, but right now it just asserts that the number doesn't change.
I'm just going to let the exception bubble up. this is a leftover from when I copied from a standalone java process. I'll do the same for the other `System.exit` calls.