modify testing input lib