restructor of the testing files