Add tests for authCmd execution on click/enter keypress