Update tests files to enable it to work well

Signed-off-by: Baudouin Duthoit <baud.duthoit@gmail.com>