modified test for options