Add size restriction to gravatar
Add test for error messages