add graph module tests