added more tests for options.js