[update] test getline function
use getline