Improve tab completion test resilience to eventual listing consistency