Fixed apps tests for non-Windows with CMake.
Grouped kernel tests to avoid directory explosion.