test for strlen() and strstr()