unit testing the click_counter component