Test that findTextAlternatives does raise errors