Add partial tests for grammar.