Bring add-task test coverage to 100%
Bring add-subtask test branch coverage to 100%
Refactor index spec name, fix linting errors
Bring index branch test coverage to 100%, use vanilla object for task registry, remove now-redundant hasOwnProperty check