trap_err: test if subshells r aware of the traps