TST: Remove even more uses np.array_equal in tests
Implement `assert_not` as a way to check that assertions should fail (for methods more sophisticated than a simple bare `assert`).  Also takes the opportunity to remove several more `np.array_equal` assertions.

Follow-up to #18047 