creating edit method test from user controller