fixed a test, import unittest2
call mockable functions through utils.