Added mock to test dependencies.