test: fix user type test according to NumPy version

7 jobs for pr/242 in 20 minutes and 29 seconds (queued for 2 seconds)