fixed graph tests