tests: Make use of g_test_fail_message()

Signed-off-by: Simon McVittie <smcv@collabora.com>
13 jobs for wip/test-fail-convenience in 12 minutes and 5 seconds (queued for 3 seconds)