Add tests for String indexOf' functions
Fix localeCompare test