test: fix refactor the case option test.