this breaks a test internally because `tagName` is not defined. If you add

```
  tagName: 'IMG',
```

then it works fine.