fixing patch-referencing-graph test