Whitespace [ci skip]
Make the test suite more self-contained

I get rid of the test/examples directory and instead provide the test
code for each command in the same file as the test. This make the tests
easier to read and less brittle I think.