Moved unit tests to NUnit.