Fixed tests for command.