Add a test without using python (runs in 1/3 of the time)
If realpath fails just return the input again

Useful for virtual files
Convert the other test to pure C++ aswell
Remove old tests that required python
Improve compile time by using CMake add_library(... OBJECT ...)
Fix build with GCC
improve test output