adds test for editing account