Fixed tests and spurious white space

Fixed the XeLaTeX unit tests.

Added a test for spurious white space emitted by the `\pagestyle` commands. Fixed `\pagestyle` commands that were emitting spurious white space.