Add mock to test requirements.