change the way the axis argument is checked in np.insert and add tests
accordingly to np.insert tests