Added tests for copy-on-write using data::lazy<class of implementation>.