XLCLOUD-1837 Implemented tests for application and jobs managers.
XLCLOUD-1837 Fixed unit test.