diff --git a/reviewboard/staticbundles.py b/reviewboard/staticbundles.py
index 7a0e9a60d844f107b8eadbe6fdbdf6bed172a234..bb42045379c745182364fcca4801064509531fba 100644
--- a/reviewboard/staticbundles.py
+++ b/reviewboard/staticbundles.py
@@ -239,7 +239,6 @@ PIPELINE_JAVASCRIPT = dict({
             'rb/js/views/draftReviewBannerView.js',
             'rb/js/views/uploadAttachmentView.js',
             'rb/js/views/revisionSelectorView.js',
-            'rb/js/views/fileAttachmentCommentBlockView.js',
             'rb/js/views/fileAttachmentReviewableView.es6.js',
             'rb/js/views/fileAttachmentRevisionLabelView.js',
             'rb/js/views/fileAttachmentRevisionSelectorView.js',
@@ -279,8 +278,6 @@ PIPELINE_JAVASCRIPT = dict({
             'rb/js/diffviewer/views/diffRevisionLabelView.js',
             'rb/js/diffviewer/views/diffRevisionSelectorView.js',
             'rb/js/diffviewer/views/paginationView.js',
-            'rb/js/diffviewer.js',
-            'rb/js/reviews.js',
         ),
         'output_filename': 'rb/js/reviews.min.js',
     },
@@ -307,7 +304,6 @@ PIPELINE_JAVASCRIPT = dict({
         'source_filenames': (
             'lib/js/jquery.masonry.js',
             'rb/js/admin/admin.js',
-            'rb/js/admin/models/supportContractModel.js',
             'rb/js/admin/views/supportBannerView.js',
         ),
         'output_filename': 'rb/js/admin-dashboard.min.js',
diff --git a/reviewboard/tests.py b/reviewboard/tests.py
new file mode 100644
index 0000000000000000000000000000000000000000..a666a7c97ce9e676fc0959d454db893e3cbfa6ad
--- /dev/null
+++ b/reviewboard/tests.py
@@ -0,0 +1,50 @@
+"""Tests for top level Review Board modules."""
+
+from __future__ import unicode_literals
+
+import os
+
+from djblets.staticbundles import (
+    PIPELINE_JAVASCRIPT as DJBLETS_PIPELINE_JAVASCRIPT,
+    PIPELINE_STYLESHEETS as DJBLETS_PIPELINE_STYLESHEETS)
+
+from reviewboard.staticbundles import PIPELINE_JAVASCRIPT, PIPELINE_STYLESHEETS
+from reviewboard.testing import TestCase
+
+
+class StaticBundlesTests(TestCase):
+    """Tests the static bundles in reviewboard.staticbundles."""
+
+    def _check_file_groups(self, groups, exclude):
+        """Checks that all source files in the given groups exist.
+
+        Args:
+            groups (dict):
+                The groups to check.
+
+            exclude (list):
+                List of group names to exclude from the check.
+        """
+        missing = set()
+
+        for name, group in groups.items():
+            if name in exclude:
+                continue
+
+            for path in group['source_filenames']:
+                static_path = os.path.join('reviewboard', 'static', path)
+
+                if not os.path.exists(static_path):
+                    missing.add(path)
+
+        self.assertSetEqual(missing, set())
+
+    def test_static_javascript_files(self):
+        """Testing that all static javascript files exist"""
+        self._check_file_groups(PIPELINE_JAVASCRIPT,
+                                DJBLETS_PIPELINE_JAVASCRIPT.keys())
+
+    def test_static_stylesheet_files(self):
+        """Testing that all static stylesheet files exist"""
+        self._check_file_groups(PIPELINE_STYLESHEETS,
+                                DJBLETS_PIPELINE_STYLESHEETS.keys())
