Add tests for the graph servlet.