[test] Repro for issue #1853 - traps not run