tests: Add missing return value to function precondition

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