written some tests for task status, but the task model needs to be udpated