Added tests for json strings.