test for toggling items