peg.js unit tests. See TODOs for stuff to fix