Replaces mox with mock for test_utils

OpenStack is moving to use mock instead of mox for unit tests
in order to be ready for python 3. This patch changes the
test cases for utils from using mox to mock.

Change-Id: I38e997652f70cb6e0c9743801ea50401f3d6654b
Merge "Replaces mox with mock for test_utils"