Declarative parser test