fix unit tests

Signed-off-by: Fabien Crassat <fabien@crassat.com>