diff --git a/test/test_sams_hub.py b/test/test_sams_hub.py
index 987e39438813bc91cc59781b0e38fd121d19b21a..35d50c8b74a03d6c80b9b3f223f3624c6a0c280e 100644
--- a/test/test_sams_hub.py
+++ b/test/test_sams_hub.py
@@ -100,13 +100,16 @@ class CaseSAMSHubWithMainApp(unittest.TestCase):
         )
         hub.flaskApp.config['DEBUG'] = True
         with hub.flaskApp.test_client(self) as client:
-          response = client.get('/')
-          self.assertIs(response.status_code, 200)
-          self.assertEquals(response.data.decode('utf-8'), expected)
-          response = client.get('/' + urls[1])
-          self.assertIs(response.status_code, 200)
-          response = client.get('/' + extra_app + '/' + urls[2])
-          self.assertIs(response.status_code, 200)
+          for path in ('/', '/' + main_app + '/'):
+            with self.subTest('check rootpath with content for ' + path):
+              response = client.get(path)
+              self.assertIs(response.status_code, 200)
+              self.assertEquals(response.data.decode('utf-8'), expected)
+          for path in ('/' + urls[1], '/' + main_app + '/' + urls[1],
+              '/' + extra_app + '/' + urls[2]):
+            with self.subTest('check status_code for ' + path):
+              response = client.get(path)
+              self.assertIs(response.status_code, 200)
 
 class CaseSAMSHubInitExceptions(unittest.TestCase):