Fix test name.
Added tests for sorting.