Adding new test for selectedOption

Let me know if more tests should be added.