Does Homophily Help in Robust Test-time Node Classification?