test successful and unsuccessful user profile edits