Add rspec tests for command argument.