Replace mox with mock in tests.api.v1

Change-Id: I2a8f4647a383aed64771cb5d273c1712f8ff8c19
Merge "Replace mox with mock in tests.api.v1"