organize unit test struct of resource
organize unit test struct of template_engine
adjust the dir structure