Adapt tests for escaping of ' introduced in 8e417fd