Replace Mock with Mox, mock out Logger.
Speeds up the test and makes it possible to run async.
Caching can't work in async tests, so for them it is mocked to a null cache that is always empty. Synchronous tests are stubbed with the real Cachex, which is emptied after every test.