Test that nodeToString remains valid even when pretty printed.
Assert that pretty printed output is pretty printed.
Implement pretty printing.