tests added for #5
parsing errors ignored

This fixes #5