Successfully separate grammar definition and testing