Test date command.