Editor : add `commands` getter and test case