The cmake-function add_test_executable_ex() adds a test using a source file in the current directory. The config file is given as a relative path.