Unit tests for sort_utils module has been enhanced greatly.