Replace all use of mox with mock

The general trend is to use mock in new code. This patch rewrites
existing tests to to mock.

Change-Id: I2292ec39c528884b2e3913b6c8a0eb26b4980991
Merge "Replace all use of mox with mock"