test assign task and fixed issues found