fix to path_cvt with NULL path; additions to tests