add missing precondition in entity_filter test