implement TaskRegistry::getTasks + tests