Tests to check several namespaces and null values
Missing AS codepages
Replace `isEmptyNode` by `== null` which matches `undefined` and `null`
don’t override a pageAtLevel value of 0
Do not add an END tag for empty elements
Merge pull request #2 from pe-at-sunrise/master

Encoding: fix null values and too many SWITCH_PAGE