On the coordinate rings of quiver varieties associated to extended Dynkin diagrams Continuity of plurisubharmonic envelopes in non-Archimedean geometry and test ideals. With an appendix by José Ignacio Burgos Gil and Martín Sombra. 