Automated tests.
Add server part of scheduler tests
Global variables problem solved !