Fixed typo
Added tests and benchmark for Java escaping