Added mock to test_requires to fix failing jenkins tests