gdbus-export: Fix leaks in tests