Add tests for map/reduce/filter methods