Test working backward though terminal records.

Closes #185.