Added a test for only copying own properties.