Tests for gravatar class