improve assertions for case auto-selection
allow auto-selection of closed cases
split fixture assert and add more info to messages
use case index instead of case property
Merge pull request #3408 from dimagi/assert

improve assertions for case auto-selection