tests for map collections