[psr3] Add `psr_` before global variable names
Skip the unit tests when the extension is not loaded