tests: modify ai::puzzle and nitmetrics to not print outdir dependant strings

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>