Remove parse task function since it was violating LSP and leaking implementation details.
Add test for get_null_task.