TST: expm_action tests and fix an inefficiency