unit tests for case insensitive sorting.