fixed test for new function getOption