Fix the exception raised when running test by nose

When using nose to run the unittest, Exception
`TypeError: setUp() takes exactly 1 argument` is raised,due to the wrong
place of `@testing.requires_mongodb` decorator.

Change-Id: Idc15fd7b52c7f26b53f0c72af61045f1423548ec
Merge "Fix the exception raised when running test by nose"