test: make less prone to failure by not relying on numeric indexes.