[SlapTool] Add getHateoasUrl method. (tests)