An effective bound for reflexive sheaves on canonically trivial 3-folds Continuity of plurisubharmonic envelopes in non-Archimedean geometry and test ideals. With an appendix by José Ignacio Burgos Gil and Martín Sombra. 