Utils: Test fallback filter; Increase coverage

 - Define fallback filter separately, so that it is testable.
 - Add more entries in sort tests to cover all clauses

Signed-off-by: Rohan Jain <crodjer@gmail.com>