Addition of extra unit tests and refactoring of the C unit test runner.