add map test
Merge pull request #272 from wise9/feature/mocha_map

add map test