fix timeout arguments issue and modify test