Updated DOCTYPE tests
Updated parameter entity support