Rewrite test for foldl

The previous test ensured that foldr and foldl yield the same result.
This is only true for associative functions. The test now compares
against Data.Map's foldl.