added more unit tests for the user edit controller