fix the test due to changes to map()