added caching tests and documentation edits
documentation edits