test(opts): more test for option handling