Moved global variables to globals infrastructure.
Nice output for cmake for found unit tests.