Better input for passed vars to function in test