Add tests for listing tasks by repository.