CLOUD-306 fix unit tests
CLOUD-344 modified init scripts