Added logging to test item clicking.