fixed broken library tests, initialized junctions record and model