add test when adding a filetype: name must be a valid ident