assert allclose and numpy.allclose have now same results
comprehensive testing for has_crossing