Fix test case after changing href URL