Fixed missing cmds global variable in test suite