diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 18b003ccfe2be0549999a4604b006f9615c82664..bbfd057df355f6c981f588ab54649d76b3df1840 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -9,14 +9,14 @@ build:
   # instead of calling g++ directly you can also use some build toolkit like make
   # install the necessary build tools when needed
   before_script:
-    - apt update && apt -y install libncurses-dev libmodbus-dev libsqlite3-dev libident-dev
+    - apt update && apt -y install libncurses-dev libmodbus-dev libsqlite3-dev libident-dev netcat
   script:
     - make -C src/
   artifacts:
     paths:
       - dispense
       - cokebank_sqlite.so
-      - dispsrc
+      - dispsrv
       # depending on your build setup it's most likely a good idea to cache outputs to reduce the build time
       # cache:
       #   paths:
diff --git a/tests/_common.sh b/tests/_common.sh
index 4058bb5f3044ae6450a576932664fb31d5fe879c..cb31ac766e1fe1e3338ded87c26ce9c4c574052c 100644
--- a/tests/_common.sh
+++ b/tests/_common.sh
@@ -46,10 +46,15 @@ server_pid=$!
 
 cleanup() {
 	LOG "Killing ${server_pid}"
-	kill ${server_pid}
+	kill ${server_pid}; true
 }
 trap cleanup EXIT
 
 LOG "Server running on PID ${server_pid}"
 sleep 1
-echo "" | nc localhost ${PORT}
+# - Make sure that the server started
+if ! (echo "" | nc localhost ${PORT}); then
+	LOG "Server not responding on ${PORT}"
+	LOG "Server log contents:"
+	cat ${BASEDIR}server.log
+fi