added multiple input case in testEditTask