add resource files for Jtf
add test case for some function