mega refactoring plus test