Split up tests for quotefordtd() and unquotefromdtd()