Add fallback existsSync on tests