Add unit test for accordion complete-view event