Test CommandName equality more thoroughly