tests: update tests for nitunit.

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>