Fix some ELF tests