Fix ELF tests