Functional tests for the command.