with_options works as expected

Didn't work at all. Tests added.