Added test for map adapter