Fixed Compile Errors in NUnit Tests