add explicit index refresh to tests