Based on https://github.com/dantefromhell/humhub-docker/blob/master/docker-compose.prod.yml#L12 it looks like tests are not using the newly build image, but an upstream image. Investigate if this is true.