Be more verbose in ctypes test when failing