Added testing code for copy-on-write map and added copy-on-write map from submodule cpp_utils.