Add cxxtest and cmake