Fix graph tests for using svg