Added tests for the sorters