Refactors specs for CfCommandRunner. [Finishes #82079168]