test: add test with 'map' that takes an explicit closure