Renames unused block variable in tests