JUnit test for 2x1 junctions + bug fix in 2x1 junction