new cpp for comparison and a scriot for running tests