Refactor y dos test mas