Grammar based test data generator