Add test to has-text? function.