Add more CLI tests and get them passing

This provides a spectacularly useless implementation which happens to pass the CLI tests added thus far. While not a complete set of [Proton](https://github.com/samphippen/proton) tests, a good number of the cases are now covered, and adding further cases is now pretty easy.

Also some minor fixes in other testing areas to get the syntax to be valid.