test(snapshot): restore `printBasicPrototype` test (#10979)