Update test structure
Fix quote escaping
Prefer to not escape characters
Escape string control characters

Closes #1