fix up tests for deep-copy