This should probably be testing `image` instead of `img`.