Improved test_grammars by a bit