Added tests for button_to feature