added button event tests