Fix tests

Change-Id: Ieb4508487a147a2f48b03743df7c34513ba59755
Signed-off-by: Julien Danjou <julien@danjou.info>