testing graphs