I have a problem that when I do tests, the library that requires init gives an error that it has not been called, how can I init it in the test or mock it so that there is no er