add test to edit profile view, fix test to profile view , update config