added OptionsSpec.js test file

added OptionsSpec.js test file for the options page