added test for editing username
added some pep breath