[3.9] Fix unit tests when running without phrasea2 extension