Add tests for auto escape variables content

I've created unit tests for auto escape variables' content because i cannot find them.

If i've missed something, please tell me about it.