tests for new sparql caching