tests: Enable tests in the CI
- Use standard BUILD_TESTING cmake conf to control whether or not to build the unit tests
- Fix broken unit tests caused by an infinite recursion in the == operator
- Disable TestGeoDataPack tests for now
- Use ecm_add_test to registers the tests