added MockTask and test