Added many tests for mvd, NMergeC and mvd_add. still incomplete.