fixed assert error on a numpy array
again, fixed bug with the numpy arrays in unittest