Runs from command line
tests for CLI