[CMake] Look for folders "test", not "test*".

Before this commit it matched e.g. "test1" and failed finding the directory "test".