Add tests for scanlM and mapFoldableM