added tests for options.js