Backport !1448 memory monitor test dependency fixes to glib-2-64
Trivial backport of !1448 (merged) (and !1443 (merged), which it depends on) to glib-2-64
.
Trivial backport of !1448 (merged) (and !1443 (merged), which it depends on) to glib-2-64
.