Make listview maximumRowsOrColumns test less brittle.