Required extension not being installed in tests

Yes, you specify a folder where all the s4ext files are stored. It is not a simple list of extension names, because you also need repository URL and dependency information for each extension. The CMake scripts parse the s4ext files, determine dependencies and build them in the right order.