test escaping of single quotes