a hack to fix #111 - this happens because Assembly.GetEntryAssembly() is null under nunit, see also http://stackoverflow.com/questions/4337201/net-nunit-test-assembly-getentryassembly-is-null