Added some tests of the parsing and printing code.