ontestcomplete - check url is defined