tests and fixes for gmaps