BACKLOG-983 Fixed unit test by improving check for existence of config