added passing tabindex to button block

Fixes #1174
I think one test should be enough here ;)