Test that gravatar_for respects :size option

I decided, on the advice of IRC, to just check whether the src attribute of
the img tag returned by gravatar_for specifies the size, rather than actually
downloading an image from Gravatar.
Refactor slightly

I would like to refactor this properly some day.