test that "clear button" event is triggered by button bar