input-utils tests code review

src/shared/fend/input-utils