Yet another try at fixing failing Spock test