Test that input@checked is immediately reflected.

See #1044.