Mock cmd2