Fix tests to be independent from the folder structure of one specific machine