add test for option