cli test

This is ugly, but working. I want to clean it before merging, but I'm not sure how to get rid of the case analysis.
`grep` makes test results easier for the harness to read... but we should remove this pipe if possible