Added test for the foldl