Fix value parsing test.
Add invalid input tests.
Bring the treetop generated parser under the Ptolemy namespace.