Add basic tests for cleanCopy().