Improve integration of new test
See the commit messages for details. Roughly, this:
- Slightly tidies up the code in the new test (added in !20 (merged))
- Fixes some memory leaks found by running the test under valgrind
- Slightly improves the SPDX metadata elsewhere in the project so it’s entirely REUSE compliant
Signed-off-by: Philip Withnall pwithnall@gnome.org