TRQ-2098. Add a unit test.