Updated the comments in the Unit Test of Grammar class as javadocs.