Corrected extended rail test, and added duplicate connections test

as of 5:33pm