testutils: add py3 compatibility
registration: add (slow) fallback for older NumPy-s