[fix for bug771894] madade changes to test_edit_profile and forms.py