add path tests also to cmake
save a little bit of memory in json_path_get