Add test for 'input' block

closes #583
it's better to use `should [do something]` form. e.g. `should return new value when value changed`