Discounting the fact that a 'successful test flight' probably isn't useful data, the equipment would of course only be packed away after the repairs have been tested and signed off.
Actually, a test flight is the gold standard in aviation for return to service.
I've done maintenance test flights for operators. Basically you read the maintenance logs and do a test flight to exercise whatever was changed.