server: fix tests failures after recent changes

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>