Added tests for mapfilter