This fixes #441, reported by Jérôme Dubois. * tests/python/mergedge.py: New file. * tests/Makefile.am: Add it. * spot/twa/twagraph.cc (merge_edges): Fix initialization of second loop. * NEWS: Mention the bug.