Fix memory leaks in libgio tests and ensure tests are run under Meson Closes #786 See merge request !151