tests: Fix tests

Signed-off-by: Jens Georg <mail@jensge.org>