add delete test
add tests to task.get, refactor the method