Added comprehensive tests to NMergeC and mvd projects.