Fixes typo in user tests
Fixes bug (missing line) in the gravatar optional size paramter
Fixes minor syntax spacing
Adds tests for alerts, fixes #2