added some basic tests for cmp_features
added -1 return for -1 in input of cmp_features