Added text to make sure context is cleared.
Added test to make sure escaping works.