Ported the tests to NUnit.