test code fixed, add to defaultOption setting function