Add missing test for change_profile_photo method.
Replace some hard-coded values in tests.
Fix User.received_messages is broken #72
Improve test
Merge pull request #229 from adam-at-mobomo/hotfix/received-messages

Fix User.received_messages is broken
Merge pull request #227 from t-bullock/tests-cleanup

Tests cleanup
Fix possible crash on user admin page.