fix nunit tests