more complete testing around string escaping

wow... that is rather nasty!