add test for undefined options