Test cases for recursive parsing