fixes for packaging as sources that was crashing the build, and changes of require to be able to run the tests with 1.9.2