Added tests for string parsing