Added tests to test the MAP collection change with array for backward compatibility.