Collapse test groups through JavaScript instead of data attributes

This allows to not use `Data.Unique` for CSS id helpers.
Switch to close folder icon when collapsing