This adds a simple test routine to `functest.c` that can be evaluated entirely at compile time and simply ensures that the different API functions used by the test can be assigned to function pointers of the expected function signatures.