Test  cases for parsing