Apply parseStatement in while nud function
fix parseStatement so that nested while test is passed