unit test: Correct tests (elf->addFile needs to be called)