add options: includeUnchecked, includeUnselected. update tests