Fixed the empty href test caseˆ