testing graph lib