Added request/command caching tests.

All 145 tests pass.