Added tests for options.js