Added a test for RecordingSortStrategy