Now has a single test in the CMake project definition.

Adds all the needed libs, and links it together for the test binary

Still need to write a test tough