Added a test for producing gramatical relations