Use def-test

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