BUG: #6175 Got rid of assert_ statements in test_algos.py

Added assert_numpy_arrays_equal in order to compare NumPy array objects without assert_