added fallback <_any>... to scanning gframmar
refactored scanning grammar tests