Added mocks for testing sorting
Removed manifestations test file that is unused
Added tests for sorting
Updated tests for sorting