tests for map