fix tests
delete link_to_function and button_to_function