Issue #1666 graph tests were refactored.