updated tests to use nunit. Better for travis