Test If Numpy Array Indexing In Python