Mocking using NSubstitute

- Changed mocking framework from Moq to NSubstitute.