Add mock to the test requirements.