Add cmake config file to run tests.