Added modified version of NSubstitute