revised $not syntax
move expectedIndexBehavior to a var
if no indexes are declared, getIndexes should return None

not Some(Nil)
3.0.0-beta3