Fix AbstractGraphTest compilation