fixed small bugs and enhanced parser specs with examples