Added unit test to inside mock