Better assertion failure message.
Test for parsing errors.
Remove empty line.
Test that callback can really stop parsing.