fixed map object key bugs, added test for .copySource