 
 (deftest ^:integration should-serve-status-under-configured-url
   (testing "use the default url"
-    (u/with-started [started (system/empty-system {})]
+    (u/with-started [started (serverless-system {})]
                     (let [handlers (rts/routes (:routes started))]
                       (is (= (:status (handlers (mock/request :get "/status")))
                              200)))))
 
   (testing "use the configuration url"
-    (u/with-started [started (system/empty-system {:status-url "/my-status"})]
+    (u/with-started [started (serverless-system {:status-url "/my-status"})]
                     (let [handlers (rts/routes (:routes started))]
                       (is (= (:status (handlers (mock/request :get "/my-status")))
                              200)))))
 
   (testing "default should be overridden"
-    (u/with-started [started (system/empty-system {:status-url "/my-status"})]
+    (u/with-started [started (serverless-system {:status-url "/my-status"})]
                     (let [handlers (rts/routes (:routes started))]
                       (is (= (handlers (mock/request :get "/status"))
                              nil))))))
 
 (deftest should-add-version-properties-to-status
   (testing "it should add the version properties"
-    (u/with-started [started (system/empty-system {})]
+    (u/with-started [started (serverless-system {})]
                     (let [handlers (rts/routes (:routes started))
                           response (mock/request :get "/status")
                           status-map (json/read-json (:body (handlers response)))]


(deftest ^:integration should-serve-health-under-configured-url
  (testing "use the default url"
    (u/with-started [started (system/empty-system {})]
                    (let [handlers (rts/routes (:routes started))]
                      (is (= (handlers (mock/request :get "/health"))
                             {:body    "HEALTHY"

                              :status  200})))))

  (testing "use the configuration url"
    (u/with-started [started (serverless-system {:health-url "/my-health"})]
                    (let [handlers (rts/routes (:routes started))]
                      (is (= (handlers (mock/request :get "/my-health"))
                             {:body    "HEALTHY"
