It's maybe worth noting that we (pypy team) had a huge success testing C code just with cffi, writing tests in python. It gives you the ability to write C, but with all the flexibility of python for testing and some debugging (sometimes you obviously have to use gdb)