Add testing framework and graph module tests