 class BrowserViewControllerTests: XCTestCase {
     private let mockUserDefaults = MockUserDefaults()
     
+    class TestAppSplashController: AppSplashController {
+        var splashView = UIView()
+        func toggleSplashView(hide: Bool) {}
+    }
+    
     func testRequestReviewThreshold() {
-        let bvc = BrowserViewController()
+        let bvc = BrowserViewController(appSplashController: TestAppSplashController())
         mockUserDefaults.clear()
         
         // Ensure initial threshold is set

    }
    
    func testShareButtonPreviouslyOutGroup() {
        let bvc = BrowserViewController()
        mockUserDefaults.clear()
        mockUserDefaults.set(10, forKey: BrowserViewController.userDefaultsTrackersBlockedKey)
        mockUserDefaults.set(false, forKey: BrowserViewController.userDefaultsShareTrackerStatsKeyOLD)

    }
    
    func testShareButtonHasNotHitEnoughTrackers() {
        let bvc = BrowserViewController(appSplashController: TestAppSplashController())
        mockUserDefaults.clear()
        mockUserDefaults.set(9, forKey: BrowserViewController.userDefaultsTrackersBlockedKey)
        
