Revert "Small simplification in a test."

This reverts commit c0845682255a9b108c394a5285d8605ab48bccb6.