adding unit tests for task_status_manager