Bug fix for test

Foldl not foldr derp