restructuring tests