fixed bug in mergeSubSeq and added some mergeSubSeq tests