Tests and handling for spaces and incomplete generic filetype sets.