added basic tests for CLI