Add stringCompare function and add test for it

stringCompare works as expected
Add more tests for stringCompare after found its bug

stringCompare works as expected