optimize String.equals for #329
add missing string tests