QA-169
added restUrl null verification