Pass invisible_text test, fixes #25