Task repository tests.