Fixed tests

Fixed tests to be compiled under Mono with NUnit test framework