Fixed tests on Mac
Added NUnit.