Get weighted graph tests and stub