more tests for extended grammar