Fix test name.
Rename `err` to `error`.