A tests for attributed grammar