[CDB-3494] Add tests for avatars
Merge pull request #589 from CartoDB/CDB-3494

Tests for avatars