diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5e1a7dab1eb98615586994b3b72f5158db34502e..5c8a075a09411b0a70db272af23ecda3d744026b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -98,7 +98,7 @@ running_stage:
 testing_stage:
    stage: test
    tags: ["np-tmcode"]
-   allow_failure: true
+   allow_failure: false
    needs:
       - job: building_stage
       - job: running_stage
@@ -123,8 +123,15 @@ testing_stage:
       - export FFILE=../../test_data/sphere/OSPH
       - echo "Comparing output of SPHERE"
       - python3 ../../src/scripts/pycompare.py --ffile=$FFILE --cfile=c_OSPH --html
+      - echo "Checking consistency among legacy and HDF5 configuration files"
+      - ../testing/test_TEDF ../../test_data/sphere/DEDFB c_TEDF c_TEDF.hdf5
       - cd ../cluster
       - echo "Comparing output of CLUSTER"
       - export FFILE=../../test_data/cluster/OCLU
       - python3 ../../src/scripts/pycompare.py --ffile=$FFILE --cfile=c_OCLU --html
-      
+      - echo "Testing cluster with 24 spheres"
+      - ./np_cluster ../../test_data/cluster/DEDFB_24 ../../test_data/cluster/DCLU_24 .
+      - echo "Checking consistency among legacy and HDF5 configuration files"
+      - ../testing/test_TEDF ../../test_data/cluster/DEDFB_24 c_TEDF c_TEDF.hdf5
+      - echo "Checking consistency among legacy and HDF5 TM files"
+      - ../testing/test_TTMS c_TTMS c_TTMS.hdf5