Added setupTask() and teardownTask()