Added tests for cnv.pl