Added missing mock to test