Not 787 rated but I guess the design of the gear lock pins is pretty universal. Do they depressurize the hydraulics in the retract lines or do they physically prevent the down lock from moving (with hyd. pressure on)?
What kind of test would the engineers possibly do with crew and passengers onboard that would pressurize the landing gear retract cycle?