Fixed a bug in the test for propagating map exceptions

A too-broad except clause caused the test to always pass by trapping the assertion error designed to trigger test failure.