MAINT: Cor nearest factor tests

Change bare asserts to numpy asserts.
assert_allclose allows better control over tolerance
i.e, atol=5e-3 and rtol=0 or irrelevant in this case

I think assert_almost_equal is now only interesting in the case when we have reference numbers with a printed precision given by the number of decimals.