SD-394 : For behave tests change the app initialization in order to support celery related tests

Fixed to work with behave