Extract a dead-simple unit testing framework

Define the tests with the TEST macro. Define test suites with `test_t
suite[] = {TEST_REF(test_name)}` and run them with
`RUN_TEST_SUITE(suite)`. Simple.