Refactored some tests. Added more task resource tests.