Test rejecting an unknown file type