graphs tests