avoid the test np.asarray for lists as it takes a lot of time