Add missing test for change_profile_photo method.
Replace some hard-coded values in tests.
Merge pull request #228 from t-bullock/tests-cleanup-rails4

Tests cleanup for rails4 branch