The tests are a mess with a lot of duplicate code. They need to be refactored with the goal of quickly being able to get an overview of them.