add routine files and some unsucceded tests