Testing flag should be &, not |. Duh.