cloning data to avoid unplanned data changes
added some context tests