test(opts): more tests for option handling