Fix findTextAlternatives property to not throw TypeError

If the element is an instance of HTMLSelectElement, you want to
reset inputElement to be able to use its value
Test that findTextAlternatives does not raise errors
Fixup test for findTextAlternatives

to follow convention around indentation/quotes, have correct description
and remove unnecessary return statements
Merge pull request #57 from Casecommons/master

Fix findTextAlternatives property to not throw TypeError