with_options works as expected