[test macro] Added test to ensure reactors handle errors correctly
[test] added error test for the map reactor