Add CLI tests
Created by: NotSpecial
Click has very nice testing utilities. This should make it very simple to write quick tests for the different CLI functions.
Especially since we had problems with our old manage.py which would sometimes not work we should test the new one.
Since I wrote most of it I'll have a look at the tests.