Rest- Test an Refactoring