Support for custom file types when testing file uploads