diff --git a/tests/PHPUnit/proxy/index.php b/tests/PHPUnit/proxy/index.php
index 7f5efa666fe83d31cabb4425e04eb9fec248785b..f9ef61fddc65de96a8336b49a0d07999495ed53b 100644
--- a/tests/PHPUnit/proxy/index.php
+++ b/tests/PHPUnit/proxy/index.php
@@ -4,15 +4,14 @@
  * Used by tests/PHPUnit/Integration/ImportLogsTest.php and tests/PHPUnit/Integration/UITest.php
  */
 
+use Piwik\Tracker\Cache;
+
 require realpath(dirname(__FILE__)) . "/includes.php";
 
 Piwik_TestingEnvironment::addHooks();
 
-if (\Piwik\DbHelper::isInstalled()) {
+if (empty($_GET['ignoreClearAllViewDataTableParameters'])) {
     \Piwik\ViewDataTable\Manager::clearAllViewDataTableParameters();
-} else {
-    // Not installed yet, display backtrace when error
-    define('PIWIK_PRINT_ERROR_BACKTRACE', true);
 }
 
 \Piwik\Profiler::setupProfilerXHProf();