graphalign truncation fix + new tests

Not ready for review or merge
reason 1 for improved performance: restoration of the ends of the reads if the alignment process is truncated.