robustified tests, fixed issue w gfile