add option type check tests