Added Moq and corresponding Unit Tests.