test: Add test for copy( Object, Function callback )

Increasing code coverage.

Change-Id: I040018a0cfb0bc4948faf338f53cefb7709e59ad