Test if a trace that fits perfectly into a gap in another trace can be added