Renamed mapcat' to flatmap and added flatmap-test