fix elf tests