Implemented test command.