Merged test dependencies into a single CMake command.