TST: Moving assert_numpy_array_equivalent outside of TestCase

Make assert_numpy_array_equivalent available without subclassing TestCase; see #8023