tests: Update it to work with the single-binary setup

Fallout from 5d91f52ce909c5a28e9d9a1f32020788f6b0801f

https://bugzilla.gnome.org/show_bug.cgi?id=725156