Cli tests

Opening this up for further discussion. Closes #450.
I'd like to see a test of the `-f` flag.