Refactored the task spec out to an acceptance-test style spec