Made unit test for mapping object complete successfully