Fixed missing requirement "mock" for tests.