adding tests
added missing line to setOptions for new param