Fix test failing after fixing duplicate host issue