Tests for Graph queries.