refactoring abstract test class to util package