Complete unit test for options page