Added specs to test the CLI