The source project of this merge request has been removed.
Enable tests, fixing the existing ones to use the current API
This also involved building a static library for the application for tests to link to. The main application executable also links to it.