Restructuring hardTreeTester for easier testing
Removing virtual keyword for optimization