Replace mox3 with mock in unit test

Compared to mox3, mock is tested much more in various Python 3 versions.

Change-Id: I9e83aa622257c36ff47c79f6b491c1b074d2245d
Merge "Replace mox3 with mock in unit test"