Prior to carrying passengers at night, the pilot in command must have accomplished the required takeoffs and landings in

If an aircraft’s operation in flight was substantially affected by an alteration or repair, the aircraft documents must show that it was test flown and approved for return to service by an appropriately-rated pilot prior to being operated