Fix test by escaping single quotes