Saving query into cache tests has been implemented.