test after click function works