move to new subtask.js error handling standard
refine tests and error handling