portingo of Task code, first test green
porting of Task tests, tests green