Added 'waitforservice' test when initializing services