withOptions

Uses the given expectOptions.