refactoring tester