add condtional query tests

Oops, `observed` is always `observed_none` here.