add graph test