tests for map component