improve generation of testfile
add more evaluation