fix for local tests
Merge pull request #1246 from LorenzoBoccaccia/fix-all-the-tests

fix for local tests