added getAllTask unit test