Fix up the action oncommand testcase