Add print statements to GrammarTest and as_list to help identify the systemic problem with as_list