Some fix in file_enum
Add file_enum test