test-api: fixes to make test-api work correctly
test-api: fixes to make test-api work correctly

freedesktop-unofficial-mirror/telepathy__telepathy-logger,freedesktop-unofficial-mirror/telepathy__telepathy-logger,freedesktop-unofficial-mirror/telepathy__telepathy-logger