Relocate caching tests to backend. Refs #39.