Move MapExample to unit test