diff --git a/drupalci.yml b/drupalci.yml
new file mode 100644
index 0000000..ef39986
--- /dev/null
+++ b/drupalci.yml
@@ -0,0 +1,57 @@
+# This is the DrupalCI testbot build file for Juicebox module.
+# https://www.drupal.org/drupalorg/docs/drupal-ci/customizing-drupalci-testing
+build:
+  assessment:
+    validate_codebase:
+      phplint:
+      csslint:
+        halt-on-fail: false
+      eslint:
+        # A test must pass eslinting standards check in order to continue processing.
+        halt-on-fail: false
+      phpcs:
+        # phpcs will use core's specified version of Coder.
+        sniff-all-files: false
+        halt-on-fail: false
+    testing:
+      # Install the juicebox library.
+      container_command:
+        commands:
+          - "sudo apt-get update"
+          - "sudo apt-get install -y unzip"
+          - "cd ${SOURCE_DIR}"
+          - "sudo mkdir libraries"
+          - "sudo curl https://www.juicebox.net/release/juicebox_lite_1.5.1.zip --output juicebox.zip --silent"
+          - "sudo unzip juicebox.zip"
+          - "sudo mv juicebox_lite_1.5.1/adobe-lightroom-plugin/juicebox_lite.lrwebengine/jbcore libraries/juicebox"
+        halt-on-fail: true
+      # run_tests task is executed several times in order of performance speeds.
+      # halt-on-fail can be set on the run_tests tasks in order to fail fast.
+      # suppress-deprecations is false in order to be alerted to usages of
+      # deprecated code.
+      run_tests.phpunit:
+        types: 'PHPUnit-Unit'
+        testgroups: '--all'
+        suppress-deprecations: true
+        halt-on-fail: false
+      run_tests.kernel:
+        types: 'PHPUnit-Kernel'
+        testgroups: '--all'
+        suppress-deprecations: true
+        halt-on-fail: false
+      run_tests.build:
+        types: 'PHPUnit-Build'
+        testgroups: '--all'
+        suppress-deprecations: true
+        halt-on-fail: false
+      run_tests.functional:
+        types: 'PHPUnit-Functional'
+        testgroups: '--all'
+        suppress-deprecations: true
+        halt-on-fail: false
+      run_tests.javascript:
+        concurrency: 15
+        types: 'PHPUnit-FunctionalJavascript'
+        testgroups: '--all'
+        suppress-deprecations: true
+        halt-on-fail: false
diff --git a/tests/src/FunctionalJavascript/JuiceboxConfCaseTest.php b/tests/src/FunctionalJavascript/JuiceboxConfCaseTest.php
index 2634937..08b05b7 100644
--- a/tests/src/FunctionalJavascript/JuiceboxConfCaseTest.php
+++ b/tests/src/FunctionalJavascript/JuiceboxConfCaseTest.php
@@ -51,7 +51,9 @@ class JuiceboxConfCaseTest extends JuiceboxCaseTestBase {
     $this->drupalGet('node/' . $node->id());
     $this->assertRaw(trim(json_encode(array('gallerywidth' => '100%', 'galleryheight' => '100%', 'backgroundcolor' => '#222222')), '{}'), 'Expected default configuration options found in Drupal.settings.');
     $this->drupalGet('juicebox/xml/field/node/' . $node->id() . '/' . $this->instFieldName . '/full');
-    $this->assertRaw('<juicebox gallerywidth="100%" galleryheight="100%" backgroundcolor="#222222" textcolor="rgba(255,255,255,1)" thumbframecolor="rgba(255,255,255,.5)" showopenbutton="TRUE" showexpandbutton="TRUE" showthumbsbutton="TRUE" usethumbdots="FALSE" usefullscreenexpand="FALSE">', 'Expected default configuration options set in XML.');
+    $content = $this->getSession()->getPage()->getContent();
+    var_dump($content);
+    $this->assertRaw('<juicebox xmlns="" gallerywidth="100%" galleryheight="100%" backgroundcolor="#222222" textcolor="rgba(255,255,255,1)" thumbframecolor="rgba(255,255,255,.5)" showopenbutton="TRUE" showexpandbutton="TRUE" showthumbsbutton="TRUE" usethumbdots="FALSE" usefullscreenexpand="FALSE">', 'Expected default configuration options set in XML.');
     // Alter settings to contain custom values.
     $this->drupalLogin($this->webUser);
     $this->drupalPostAjaxForm('admin/structure/types/manage/' . $this->instBundle . '/display', array(), $this->instFieldName . '_settings_edit', NULL, array(), array(), 'entity-view-display-edit-form');
@@ -76,7 +78,7 @@ class JuiceboxConfCaseTest extends JuiceboxCaseTestBase {
     $this->assertRaw(trim(json_encode(array('gallerywidth' => '50%', 'galleryheight' => '200px', 'backgroundcolor' => 'red')), '{}'), 'Expected custom Lite configuration options found in Drupal.settings.');
     // Check for correct XML.
     $this->drupalGet('juicebox/xml/field/node/' . $node->id() . '/' . $this->instFieldName . '/full');
-    $this->assertRaw('<juicebox gallerywidth="50%" galleryheight="200px" backgroundcolor="red" textcolor="green" thumbframecolor="blue" showopenbutton="FALSE" showexpandbutton="FALSE" showthumbsbutton="FALSE" usethumbdots="TRUE" usefullscreenexpand="TRUE">', 'Expected custom Lite configuration options set in XML.');
+    $this->assertRaw('<juicebox xmlns="" gallerywidth="50%" galleryheight="200px" backgroundcolor="red" textcolor="green" thumbframecolor="blue" showopenbutton="FALSE" showexpandbutton="FALSE" showthumbsbutton="FALSE" usethumbdots="TRUE" usefullscreenexpand="TRUE">', 'Expected custom Lite configuration options set in XML.');
   }
 
   /**
@@ -87,9 +89,11 @@ class JuiceboxConfCaseTest extends JuiceboxCaseTestBase {
     // Do a set of control requests as an anon user that will also prime any
     // caches.
     $this->drupalGet('node/' . $node->id());
-    $this->assertResponse(200, 'Control request of test node was successful.');
+    // Control request of test node was successful.
+    $this->assertSession()->pageTextContains('Test Juicebox Gallery Node');
     $this->drupalGet('juicebox/xml/field/node/' . $node->id() . '/' . $this->instFieldName . '/full');
-    $this->assertResponse(200, 'Control request of XML was successful.');
+    // Control request of XML was successful.
+    $this->assertSession()->responseContains('<juicebox xmlns=');
     // Set new manual options and also add a manual customization that's
     // intended to override a custom Lite option.
     $this->drupalLogin($this->webUser);
@@ -106,7 +110,7 @@ class JuiceboxConfCaseTest extends JuiceboxCaseTestBase {
     $this->assertRaw(trim(json_encode(array('gallerywidth' => '50%', 'galleryheight' => '100%', 'backgroundcolor' => '#222222')), '{}'), 'Expected custom configuration options found in Drupal.settings.');
     // Check for correct XML.
     $this->drupalGet('juicebox/xml/field/node/' . $node->id() . '/' . $this->instFieldName . '/full');
-    $this->assertRaw('<juicebox gallerywidth="50%" galleryheight="100%" backgroundcolor="#222222" textcolor="rgba(255,255,255,1)" thumbframecolor="rgba(255,255,255,.5)" showopenbutton="FALSE" showexpandbutton="TRUE" showthumbsbutton="TRUE" usethumbdots="FALSE" usefullscreenexpand="FALSE" mycustomsetting="boomsauce">', 'Expected custom Pro configuration options set in XML.');
+    $this->assertRaw('<juicebox xmlns="" gallerywidth="50%" galleryheight="100%" backgroundcolor="#222222" textcolor="rgba(255,255,255,1)" thumbframecolor="rgba(255,255,255,.5)" showopenbutton="FALSE" showexpandbutton="TRUE" showthumbsbutton="TRUE" usethumbdots="FALSE" usefullscreenexpand="FALSE" mycustomsetting="boomsauce">', 'Expected custom Pro configuration options set in XML.');
   }
 
   /**
diff --git a/tests/src/FunctionalJavascript/JuiceboxConfGlobalCaseTest.php b/tests/src/FunctionalJavascript/JuiceboxConfGlobalCaseTest.php
index 1f125db..eb86d15 100644
--- a/tests/src/FunctionalJavascript/JuiceboxConfGlobalCaseTest.php
+++ b/tests/src/FunctionalJavascript/JuiceboxConfGlobalCaseTest.php
@@ -48,7 +48,8 @@ class JuiceboxConfGlobalCaseTest extends JuiceboxCaseTestBase {
     // Do a control request of the XML as an anon user that will also prime any
     // caches.
     $this->drupalGet('juicebox/xml/field/node/' . $node->id() . '/' . $this->instFieldName . '/full');
-    $this->assertResponse(200, 'Control request of XML was successful.');
+    // Control request of XML was successful.
+    $this->assertSession()->responseContains('<juicebox xmlns=');
     // Enable optional global settings.
     $this->drupalLogin($this->webUser);
     $edit = array(
@@ -72,7 +73,8 @@ class JuiceboxConfGlobalCaseTest extends JuiceboxCaseTestBase {
     // Do a control request of the XML as an anon user that will also prime any
     // caches.
     $this->drupalGet('juicebox/xml/field/node/' . $node->id() . '/' . $this->instFieldName . '/full');
-    $this->assertResponse(200, 'Control request of XML was successful.');
+    // Control request of XML was successful.
+    $this->assertSession()->responseContains('<juicebox xmlns=');
     // We want to be able to set translations.
     $this->drupalLogin($this->webUser);
     $edit = array(
@@ -121,7 +123,8 @@ class JuiceboxConfGlobalCaseTest extends JuiceboxCaseTestBase {
     // Do a control request of the XML as an anon user that will also prime any
     // caches.
     $this->drupalGet('juicebox/xml/field/node/' . $node->id() . '/' . $this->instFieldName . '/full');
-    $this->assertResponse(200, 'Control request of XML was successful.');
+    // Control request of XML was successful.
+    $this->assertSession()->responseContains('<juicebox xmlns=');
     // Customize one of our global multi-size settings from the default for a
     // true end-to-end test.
     $this->drupalLogin($this->webUser);
diff --git a/tests/src/FunctionalJavascript/JuiceboxFieldFormatterCaseTest.php b/tests/src/FunctionalJavascript/JuiceboxFieldFormatterCaseTest.php
index 7f06820..6852963 100644
--- a/tests/src/FunctionalJavascript/JuiceboxFieldFormatterCaseTest.php
+++ b/tests/src/FunctionalJavascript/JuiceboxFieldFormatterCaseTest.php
@@ -83,9 +83,11 @@ class JuiceboxFieldFormatterCaseTest extends JuiceboxCaseTestBase {
     // Do a set of control requests as an anon user that will also prime any
     // caches.
     $this->drupalGet('node/' . $node->id());
-    $this->assertResponse(200, 'Control request of test node was successful.');
+    // Control request of test node was successful.
+    $this->assertSession()->pageTextContains('Test Juicebox Gallery Node');
     $this->drupalGet('juicebox/xml/field/node/' . $node->id() . '/' . $this->instFieldName . '/full');
-    $this->assertResponse(200, 'Control request of XML was successful.');
+    // Control request of XML was successful.
+    $this->assertSession()->responseContains('<juicebox xmlns=');
     // Alter field formatter specific settings to contain custom values.
     $this->drupalLogin($this->webUser);
     $this->drupalPostAjaxForm('admin/structure/types/manage/' . $this->instBundle . '/display', array(), $this->instFieldName . '_settings_edit', NULL, array(), array(), 'entity-view-display-edit-form');
@@ -134,9 +136,11 @@ class JuiceboxFieldFormatterCaseTest extends JuiceboxCaseTestBase {
     $node = $this->node;
     // The node and XML should be initially accessible (control test).
     $this->drupalGet('node/' . $node->id());
-    $this->assertResponse(200, 'Access allowed for published node.');
+    // Control request of test node was successful.
+    $this->assertSession()->pageTextContains('Test Juicebox Gallery Node');
     $this->drupalGet('juicebox/xml/field/node/' . $node->id() . '/' . $this->instFieldName . '/full');
-    $this->assertRaw('<?xml version="1.0" encoding="UTF-8"', 'XML access allowed to published node (valid XML detected).');
+    // XML access allowed to published node (valid XML detected).
+    $this->assertSession()->responseContains('<juicebox xmlns=');
     // Now unpublish the node as a way of making it inaccessible to
     // non-privileged users. There are unlimited ways that access can be
     // restricted, such as other perm settings, contrb module controls for
@@ -147,9 +151,11 @@ class JuiceboxFieldFormatterCaseTest extends JuiceboxCaseTestBase {
     $node->save();
     // Re-check access.
     $this->drupalGet('node/' . $node->id());
-    $this->assertResponse(403, 'Access blocked for unpublished node.');
+    // Access blocked for unpublished node.
+    $this->assertSession()->pageTextContains('Access denied');
     $this->drupalGet('juicebox/xml/field/node/' . $node->id() . '/' . $this->instFieldName . '/full');
-    $this->assertResponse(403, 'XML access blocked for unpublished node.');
+    // XML access blocked for unpublished node.
+    $this->assertSession()->pageTextContains('Access denied');
   }
 
 }
diff --git a/tests/src/FunctionalJavascript/JuiceboxFileCaseTest.php b/tests/src/FunctionalJavascript/JuiceboxFileCaseTest.php
index 9ba75ba..ea9f5e0 100644
--- a/tests/src/FunctionalJavascript/JuiceboxFileCaseTest.php
+++ b/tests/src/FunctionalJavascript/JuiceboxFileCaseTest.php
@@ -63,7 +63,7 @@ class JuiceboxFileCaseTest extends JuiceboxCaseTestBase {
     $this->assertRaw('<?xml version="1.0" encoding="UTF-8"?>', 'Valid XML detected.');
     $this->assertRaw('imageURL="' . Html::escape($test_image_url), 'Test image found in XML.');
     $this->assertRaw('thumbURL="' . Html::escape($test_thumb_url), 'Test thumbnail found in XML.');
-    $this->assertRaw('<juicebox gallerywidth="100%" galleryheight="100%" backgroundcolor="#222222" textcolor="rgba(255,255,255,1)" thumbframecolor="rgba(255,255,255,.5)" showopenbutton="TRUE" showexpandbutton="TRUE" showthumbsbutton="TRUE" usethumbdots="FALSE" usefullscreenexpand="FALSE">', 'Expected default configuration options set in XML.');
+    $this->assertRaw('<juicebox xmlns="" gallerywidth="100%" galleryheight="100%" backgroundcolor="#222222" textcolor="rgba(255,255,255,1)" thumbframecolor="rgba(255,255,255,.5)" showopenbutton="TRUE" showexpandbutton="TRUE" showthumbsbutton="TRUE" usethumbdots="FALSE" usefullscreenexpand="FALSE">', 'Expected default configuration options set in XML.');
   }
 
   /**
