fix test cases for clicking on button and label change