unit tests for the click change