fixed endf tests