ActGrammarTests added and ActGrammar bug fixed