require path on tests for fallback existsSync function