test cases for map and let