Added NUnit tests.