Fix broken editCommandsTests