Add specs for command.rb