test case for strstr and flash model