added tests for string sorting