add test for options