Add tests for user edit page