Write a simple C testing library

Stealing from
https://github.com/skanev/playground/blob/master/other/clrs/build/ext/test.h