Merging fix for the upstream issue #50 to my master

Fixing parent issue #50 for assert_text_present