make test work regardless of the environment of the tester

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>