Collections feature test implemented

Collections feature test implemented, and also sorted results hash before printing.