Fix mapfilter tests.

Add try block to mapfilter to catch failues and raise exception that may indicate use of exception as control.

Signed-off-by: Eric Taucher <Researcher0x00@gmail.com>