moved all cli tests to test/cli. Add some basic user functionality