Changed persist to take Item rather than string, fix in test here
Wasn't doing null check, 500 was being returned as a result
was missing . before opts in .opts
Merge pull request #659 from jiwalker-usgs/master

Thumbnail 500 fix