Test attachment with no file protocol