Test cmAsAction.