Small corrections.
Improved script for running tests.
Finally automated tests are working correctly. The module oauth2_server (and maybe other modules as well) depends on the module libraries. Without installing it, tests will not work.