refatorado test