Add a cache query test to accompany the documentation on querying locally