modified CMakeLists to add a functional test for mod-compare + impl code review