add test to identify bug in options handling