added tests for xFoldl