Add a function to configure entropy sources. For testing only. Use it to test that the library initialization fails properly if there is no entropy source.