CMake scripts added to build the test; tested on a Mac