pyflakes
New test for querying by optional attributes