modify Nunit for a error test