Finally managed to setup the build system for running the unit tests with CppUTest.
Started work on actual unit tests.