Use cap test() method instead of execute() for robot controller