tests: add test for fragment tree topological correctness Fixes: https://github.com/pkgconf/pkgconf/issues/385 Signed-off-by: Ariadne Conill <ariadne@ariadne.space>