creating on click test event for buttons
click event works, guess fn works