gh-38763: use StructureDescription() in gap/element.pyx tests
This will fix #38760
The output of these tests is too verbose, and this unstable. We fix it
here
### :memo: Checklist
<!-- Put an `x` in all the boxes that apply. -->
- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
- [x] I have linked a relevant issue or discussion.
- [x] I have created tests covering the changes.
- [ ] I have updated the documentation and checked the documentation
preview.
URL: https://github.com/sagemath/sage/pull/38763
Reported by: Dima Pasechnik
Reviewer(s): Martin Rubey