Replaced store by a mock in tasks model unit test.