Implement tests for the rest of the grammar.