tests: fix signedness compilation warnings

Signed-off-by: Loic Dachary <ldachary@redhat.com>