Added test feature to Buttons.