Reordered let/const test code for legibility.