Ensure that all Mocked classes have been required beforehand.
Improve install_dependencies.sh.