various improvements and tests for copy/paste

Authored by alcinos on Apr 5 2019, 6:06 PM.