Fix for issues 105: Replace calls to obsolete methods in NUnit tests