Introduced NUnit and some tests.
Merge pull request #6797 from huwpascoe/nunit

NUnit integration