Update RecordsController test to test record HTML more deterministically

The previous test was pretty brittle as it depended on the order of the records returned by the SQL query.
By explicitly grabbing the HTML we want, we take order out of the equation. We may want to test order at a later time, though.