Fixed tests by skipping functional tests in case an elasticsearch server is not available