Test parsers. Fix minor bugs.