added more tests and polished edit users (finished chapter 9 excercises)