tests: simplify not compiling tests

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