input__sample: b-link -> link
input: refactoring
input__hint: add tests