testing having tasks in powershell module