Make Textify spec pass on both Java 7 and Java 8