Added unit test for mapper using Mockito for mocking