Add tests for edit user