Fix unit tests for releases' collection sorting

Closes-Bug: #1385258

Change-Id: Iabd5f0a3919c4cb327cc1f17b3a286a0631b17f8
Merge "Fix unit tests for releases' collection sorting"