Tests for String prefix/substring/postfix