Added get_cpnr_version and more unit tests